<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="org.jdom.output.XMLOutputter"%>
<%@page import="org.jdom.Document"%>
<%@page import="com.bitoon.basketdudes.ws.*, com.bitoon.basketdudes.jpa.*, java.util.*" %>
<%
    int       codError  = 0;
    Bonus     bonus     = null;
    String    doc_xml   = null;

    try {

        bonus = new Bonus();
        doc_xml      = bonus.wsMomentoGanadorCrear(request,response);

    } catch (Exception e) {
        codError = -99;
%>
<consultar_retos err="-99" />
<%
    }
%>
<%=doc_xml%>